package com.kayt.cyberBar.cpublic.business.service;

import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.common.ServerResponse;
import com.kayt.cyberBar.cpublic.business.entity.req.vo.PublicLablReqVO;
import com.kayt.cyberBar.cpublic.business.entity.rsp.vo.PublicLablRspVO;

@Path("/labl")
public interface IPublicLablService {
	@GET
	@Path("getLablList.do")
	@Produces({"application/json" + ";charset=UTF-8"})
	@Consumes({"application/json"})
	public ServerResponse<PageData<PublicLablRspVO>> getLablList();

	@POST
	@Path("addLabl.do")
	@Produces({"application/json" + ";charset=UTF-8"})
	@Consumes({"application/json"})
	public ServerResponse<PublicLablRspVO> addLabl(PublicLablReqVO lablReqVO);
	
	@POST
	@Path("updateLabl.do")
	@Produces({"application/json" + ";charset=UTF-8"})
	@Consumes({"application/json"})
	public ServerResponse<PublicLablRspVO> updateLabl(PublicLablReqVO lablReqVO);
	
	@GET
	@Path("deleteLabl.do")
	@Produces({"application/json" + ";charset=UTF-8"})
	@Consumes({"application/json"})
	public ServerResponse<String> deleteLabl(@QueryParam("id")String lablId);
}
